Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODBinding


ChooseEditorForPart

The ChooseEditorForPart method chooses the editor to be used to edit the specified part.

ODEditor ChooseEditorForPart (in ODStorageUnit thePartSU,
                              in ODType newKind);
thePartSU
A reference to the part's storage unit.
newKind
If the specified part is a new part being created, its part kind; otherwise kODNULL.
return value
An opaque platform-specific value specifying the chosen part editor.
DISCUSSION
This method is called by the container suite. The document shell, container applications, and parts cannot call this method.

This method chooses the appropriate editor for the specified part based on the editors that are installed on the machine and the part kind of the specified part. For a new part that is being created, the specified storage unit is empty and the newKind parameter specifies the part kind. For a part that exists, the storage unit contains the part kind(s).

SEE ALSO
The ODEditor type (page 929).
The ODType type (page 876).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help